package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 报警设置对象 setting
 * 
 * @author ruoyi
 * @date 2023-11-09
 */
public class Setting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 等级 */
    @Excel(name = "等级")
    private String 报警等级;

    /** 报警时间 */
    @Excel(name = "报警时间")
    private String min;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void set报警等级(String 报警等级) 
    {
        this.报警等级 = 报警等级;
    }

    public String get报警等级() 
    {
        return 报警等级;
    }
    public void setMin(String min) 
    {
        this.min = min;
    }

    public String getMin() 
    {
        return min;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("报警等级", get报警等级())
            .append("min", getMin())
            .toString();
    }
}
